package work;

import sk3.Student;

public class Main {
    public static void main(String[] args) {
        Police police1=new Police("朱俊辉");
        Reason reason1=new Reason("闯红灯");
        Driver driver1=new Driver("赵云龙");
        Car car1=new Car("劳斯莱斯");
        Money money1=new Money(4000);

        Police police2=new Police("刘海涛");
        Reason reason2=new Reason("闯红灯");
        Driver driver2=new Driver("赵云龙");
        Car car2=new Car("法拉利");
        Money money2=new Money(6000);

        police1.fine(reason1, driver1,car1,money1);
        police2.fine(reason2, driver2,car2,money2);

    }
}
